package com.zhouyibike.uu.entity;

import java.util.List;

/**
 * Created by cc on 2017/5/3.
 */

public class YCQResult {

    /**
     * status : 200
     * data : [{"id":"00000000-0000-0000-0000-000000000000","accountId":0,"isUsed":false,"amount":1,"validStartDay":"0001-01-01 00:00","validEndDay":"2017-06-03 00:00"}]
     * message : 操作成功!
     */

    private int status;
    private String message;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 00000000-0000-0000-0000-000000000000
         * accountId : 0
         * isUsed : false
         * amount : 1
         * validStartDay : 0001-01-01 00:00
         * validEndDay : 2017-06-03 00:00
         */

        private String id;
        private String accountId;
        private boolean isUsed;
        private String amount;
        private String validStartDay;
        private String validEndDay;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAccountId() {
            return accountId;
        }

        public void setAccountId(String accountId) {
            this.accountId = accountId;
        }

        public boolean isIsUsed() {
            return isUsed;
        }

        public void setIsUsed(boolean isUsed) {
            this.isUsed = isUsed;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getValidStartDay() {
            return validStartDay;
        }

        public void setValidStartDay(String validStartDay) {
            this.validStartDay = validStartDay;
        }

        public String getValidEndDay() {
            return validEndDay;
        }

        public void setValidEndDay(String validEndDay) {
            this.validEndDay = validEndDay;
        }
    }
}
